package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 健身日志对象 fitnesslogs
 * 
 * @author 张英旺
 * @date 2024-02-27
 */
public class Fitnesslogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志ID */
    private Long logId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 记录日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date logDate;

    /** 身体感受 */
    @Excel(name = "身体感受")
    private String logBodyfeelings;

    /** 训练心得 */
    @Excel(name = "训练心得")
    private String logTrainingInsights;

    /** 饮食记录 */
    @Excel(name = "饮食记录")
    private String logDietRecord;

    /** 其他备注 */
    @Excel(name = "其他备注")
    private String logNotes;

    /** 用户信息信息 */
    private List<SysUser> sysUserList;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLogDate(Date logDate) 
    {
        this.logDate = logDate;
    }

    public Date getLogDate() 
    {
        return logDate;
    }
    public void setLogBodyfeelings(String logBodyfeelings) 
    {
        this.logBodyfeelings = logBodyfeelings;
    }

    public String getLogBodyfeelings() 
    {
        return logBodyfeelings;
    }
    public void setLogTrainingInsights(String logTrainingInsights) 
    {
        this.logTrainingInsights = logTrainingInsights;
    }

    public String getLogTrainingInsights() 
    {
        return logTrainingInsights;
    }
    public void setLogDietRecord(String logDietRecord) 
    {
        this.logDietRecord = logDietRecord;
    }

    public String getLogDietRecord() 
    {
        return logDietRecord;
    }
    public void setLogNotes(String logNotes) 
    {
        this.logNotes = logNotes;
    }

    public String getLogNotes() 
    {
        return logNotes;
    }

    public List<SysUser> getSysUserList()
    {
        return sysUserList;
    }

    public void setSysUserList(List<SysUser> sysUserList)
    {
        this.sysUserList = sysUserList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("userId", getUserId())
            .append("logDate", getLogDate())
            .append("logBodyfeelings", getLogBodyfeelings())
            .append("logTrainingInsights", getLogTrainingInsights())
            .append("logDietRecord", getLogDietRecord())
            .append("logNotes", getLogNotes())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("sysUserList", getSysUserList())
            .toString();
    }
}
